import request from "@/utils/request";

// GET/team/message/getRegionalReport 大区权限数据报表
export function getRegionalReport(query) {
  return request({
    url: "/team/message/getRegionalReport",
    method: "get",
    params: query,
  });
}

// /team/message/getRegionalReportExport 大区权限数据报表导出
export function getRegionalReportExport(query) {
  return request({
    url: "/team/message/getRegionalReportExport",
    method: "get",
    params: query,
  });
}

// GET /station/classSettlement/classReportList 日报表列表
export function classReportList(query) {
  return request({
    url: "/station/classSettlement/classReportList",
    method: "get",
    params: query,
  });
}

// GET /station/classSettlement/classReportSum 报表汇总
export function classReportSum(query) {
  return request({
    url: "/station/classSettlement/classReportSum",
    method: "get",
    params: query,
  });
}

// GET /station/classSettlement/getReport 交接班日报表-查看
export function getReport(query) {
  return request({
    url: "/station/classSettlement/getReport",
    method: "get",
    params: query,
  });
}

// GET /station/classSettlement/exportClassReport 日报表导出
export function exportClassReport(query) {
  return request({
    url: "/station/classSettlement/exportClassReport",
    method: "get",
    params: query,
  });
}

// GET /station/classSettlement/selectBusinessDailyReportList 日经营列表
export function selectBusinessDailyReportList(query) {
  return request({
    url: "/station/classSettlement/selectBusinessDailyReportList",
    method: "get",
    params: query,
  });
}

// GET /station/classSettlement/selectBusinessDailyReportSum 日经营列表
export function selectBusinessDailyReportSum(query) {
  return request({
    url: "/station/classSettlement/selectBusinessDailyReportSum",
    method: "get",
    params: query,
  });
}

// GET /station/historyOrder/selectPayOrderAndRechangeSum 查询订单和充值
export function selectPayOrderAndRechangeSum(query) {
  return request({
    url: "/station/historyOrder/selectPayOrderAndRechangeSum",
    method: "get",
    params: query,
  });
}

// GET /station/historyOrder/selectPayOrderAndRechangeSum 经营日报表导出
export function exportBusinessDailyReportList(query) {
  return request({
    url: "/station/classSettlement/exportBusinessDailyReportList",
    method: "get",
    params: query,
  });
}

// GET /station/historyOrder/exportByDay 消费明细导出
export function exportList(query) {
  return request({
    url: "/station/historyOrder/exportByDay",
    method: "get",
    params: query,
  });
}

// GET /customer/record/export 充值明细导出
export function recordList(query) {
  return request({
    url: "/customer/record/export",
    method: "get",
    params: query,
  });
}

// 经营日报表 按班结时间筛选
export function selectClassTime(query) {
  return request({
    url: '/station/classSettlement/classTimeList',
    params: query
  })
}
